const api = '/api/orderFilm'
export default {
  //我的影票订单列表
  getOrderList: (...args) => uni.$request.post(`${api}/getOrderList`, ...args),
  //我的订单删除【影票】
  // delOrder: (...args) => uni.$request.post(`${api}/delOrder`, ...args),
  //解锁影票订单
  unLockSeat: (...args) => uni.$request.post(`${api}/unLockSeat`, ...args),
  //获取订单详情
  getOrderInfo: (...args) => uni.$request.post(`${api}/getOrderInfo`, ...args),
  //获取订单可用票券 卡的数量
  getUsableCount: (...args) =>
    uni.$request.post(`${api}/getUsableCount`, ...args),
  //影票订单预支付
  prePay: (...args) => uni.$request.post(`${api}/prePay`, ...args),
  //获取待处理订单【个人中心】
  getPendingOrder: (...args) =>
    uni.$request.post(`${api}/getPendingOrder`, ...args),

  //获取影票订单状态
  getOrderStatus: (...args) =>
    uni.$request.post(`${api}/getOrderStatus`, ...args),
  //获取影票订单状态
  getGiftV1Format: (...args) =>
    uni.$request.post(`${api}/getGiftV1Format`, ...args),
  //锁座下单
  lockSeat: (...args) => uni.$request.post(`${api}/lockSeat`, ...args),
  //根据订单获取可用积分可用余额
  getPayOtherInfo: (...args) =>
    uni.$request.post(`${api}/getPayOtherInfo`, ...args)
}
